package Java0307;

import java.util.Scanner;

public class WagesDemo {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.print("输入基本工资：");
        double wages=sc.nextDouble();
        System.out.print("输入工龄：");
        int ages=sc.nextInt();
        double sumWages=wages*0.103+ages*100+wages*0.045+wages;
        System.out.println("工资："+(int)sumWages+"元");
        if(sumWages>5000){
            System.out.println("你是高薪！");
        }


    }
}
